﻿@model List<WebApplication4.Models.User>
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div>
        <table border="1">
            <thead>
                <tr>
                    <td>
                        用户编号
                    </td>
                    <td>
                        邮箱
                    </td>
                    <td>
                        密码
                    </td>
                    <td>
                        昵称
                    </td>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model)
                {
                    <tr>
                        <td>@item.userid</td>
                        <td>@item.email</td>
                        <td>@item.pwd</td>
                        <td>@item.nick</td>
                    </tr>
                }
            </tbody>

        </table>
    </div>
</body>
</html>
